A_MACHINE
MACHINE

Syntax: A_MACHINE
   and: MACHINE
Location: ATARI_REXT v2.22+ (A_MACHINE)
          SMSQ/E (MACHINE)

The MACHINE function returns a value corresponding to the type of system on which SuperBASIC is running.

The values currently returned are:

MACHINE Machine Type
0       ATARI ST / STM / STF / STFM
1       ORDINARY STE (1040)
2       MEGA ST or ST / STM / STF / STFM with RTC
4       ATARI STACY
6       ATARI STE
8       MEGA STE
10      GOLD CARD
12      SUPER GOLD CARD
16      FALCON
24      ATARI TT 030
28      QXL
30      QPC

On Standard QLs, MACHINE returns the above value plus 1 if HERMES is fitted.
On ATARI Computers, MACHINE returns the above value plus 1 is a BLITTER CHIP is fitted.

A_MACHINE is the same as MACHINE.

CROSS-REFERENCE:
See PROCESSOR, DISP_TYPE, VER$ and QDOS$.
VER$(1) and SYS_BASE replace SYS_VARS.
